package com.example.forjava.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Person {

    private String id;
    private String name;
    private boolean sex;
    private String val;
    private int age;

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Person(String name,boolean sex, int age) {
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

}
